package cn.edu.sgu.www.mhxysy.mapper.role;

import cn.edu.sgu.www.mhxysy.entity.role.RoleAttribute;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Repository
public interface RoleAttributeMapper extends BaseMapper<RoleAttribute> {

    /**
     * 通过角色ID列表批量删除角色属性
     * @param roleIds 角色ID列表
     */
    void deleteByRoleIds(@Param("roleIds") List<String> roleIds);
}